home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Savvy: Software Proficiency
/
Computer Savvy - Software Proficiency.iso
/
PROGFILE.SFS
/
CUSTOM.RUL
< prev
next >
Wrap
Text File
|
1997-10-22
|
11KB
|
270 lines
/*----------------------------------------------------------------------------*\
* Custom.RUL
* Sofsource Installation Package: Program-Specific Declarations.
* Copyright (c) 1995-1996 Sofsource, Inc. All rights reserved.
* Setup script written by: Bob Falk
*------------------------------------------------------------------------------
* Program-specific declarations for: Computer Savvy: CD 2
* Last updated on: 10/22/1997
* Revision Info:
* $Revision: 1.0 $
* $Date: 22 Oct 1997 16:22:00 $
\*----------------------------------------------------------------------------*/
//=================================================================================================
// The following are used in the Windows 95 Registry:
//
// Windows 3.x and NT NOTES:
// COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
// of SETUP.LOG files (when used).
//
// Windows 95 NOTES:
// COMPANY_NAME = Used in Application Information Key
// PRODUCT_NAME = Used in Application Information Key, also used in the screen caption,
// several message boxes, error messages, and the log file.
// PRODUCT_VERSION = Used in Application Information Key
// APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key. Use ONLY ONE EXE name, UNLESS
// the EXEs are all in the same subdirectory. If not in the same subdir
// then only the first EXE will have an App Paths key, and it must be the
// same as EXE_FILENAME_1 (below).
// The Registry can handle more, but InstallShield cannot.
// DEINSTALL_KEY = Used in the Application Uninstallation Key
// The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
// (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
//
#define COMPANY_NAME "Sofsource, Inc."
#define PRODUCT_NAME "Software Proficiency"
#define PRODUCT_VERSION "1.00"
#define APP_PATHS_KEY_EXENAMES "PYRAMID.EXE"
#define DEINSTALL_KEY "Sof92194Ver100DeinstKey"
// Used as: InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
// RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
// DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
// The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
// The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
// long "Webster's Concise Encyclopedia Read Me". If the PRODUCT_NAME is less than about 18 characters
// in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME. In Windows 95, any title
// longer than 17 characters will appear with ellipses (...).
// !!! |-----------------| 17 chars max length !!!
//#define EXTRAICONS_APP_NAME "???"
#define EXTRAICONS_APP_NAME PRODUCT_NAME
//----- Base (Default) Destination Paths:
#define APPBASE_PATH3X "SOFSRC\\Software\\"
#define APPBASE_PATH95 "Sofsource\\Software\\"
//----- Define the items that MUST match LAUNCHER.PAS:
// Windows 95. This will typically be "C:\Sofsource" and will always be on the same
// drive as Windows 95 itself, regardless of the installation target (destination).
// This also must match the cSectionName in LAUNCHER.PAS.
// This should be 70-characters max. If longer, you'll need to edit the Perm Setup Log details.
#define PROGRAM_FOLDER_NAME "Sofsource"
#define APP_UPC_CODE "92194-2"
// APP_UPC_CODE 30-chars max. If longer, you'll need to edit the Perm Setup Log details.
#define PRODUCT_ID_FILENAME "ID921942.ID_"
//=================================================================================================
#define NUM_EXES_PRESENT 1
// Set the above to the number of executable files
// belonging to the product, FOR WHICH ICONS WILL BE MADE
// *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
// *** Use "-1" when there is no executable, only a help file ***
#define NEEDS_HELPFILE_ICON 0
// Define the above if WINHELP.EXE should execute a HLP file
// IN ADDITION TO the normal EXE file handling (above).
// Use this when there is both an executable(s) AND a HLP file.
//=================================================================================================
// Documentation/READ-ME file definitions:
// Define the following if a README file is present
#define DOCUMENTATION_PRESENT 0
#ifdef DOCUMENTATION_PRESENT
#define DOC_FILE_NAME "README.TXT"
#define DOC_ICON_NAME '"Program Read Me"'
#endif
// NOTE: For Icon Names, single-quotes enclose the double-quotes. This doesn't matter
// under Windows 95, but is important under Windows 3.x and NT. In the latter cases,
// without the extra single quotes, you could not use special characters (such as
// commas or parentheses) in the name. Of course, now you'll need to use an
// Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
//=================================================================================================
// Executable and Icon File Definitions:
#ifdef NUM_EXES_PRESENT >= 1
// In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
// !!! |-----------------| 17 chars max length
#define PROGICON_NAME_1 '"Software Proficiency"'
#define EXE_FILENAME_1 "PYRAMID.EXE"
#define ICON_FILENAME_1 "SAVVY.ICO"
#endif
#ifdef NUM_EXES_PRESENT >= 2
#define PROGICON_NAME_2 '""'
#define EXE_FILENAME_2 ""
#define ICON_FILENAME_2 ""
#endif
#ifdef NUM_EXES_PRESENT >= 3
#define PROGICON_NAME_3 '""'
#define EXE_FILENAME_3 ""
#define ICON_FILENAME_3 ""
#endif
#ifdef NUM_EXES_PRESENT >= 4
#define PROGICON_NAME_4 '""'
#define EXE_FILENAME_4 ""
#define ICON_FILENAME_4 ""
#endif
#ifdef NUM_EXES_PRESENT = -1
#define HELP_NAME_1 '"???"'
#define HLP_FILE_1 "???.HLP"
#endif
#ifdef NEEDS_HELPFILE_ICON
#define HELP_NAME_1 '"Software Proficiency Help"'
#define HLP_FILE_1 "PYRAMID.HLP"
#endif
//=================================================================================================
// Special Case Involving Running From CD-ROM
#define CDROM_ALWAYS_REQUIRED 1
// Define the above if the CD-ROM must always be inserted to use the program
#define EXE_RUN_FROM_CDROM 1
// Define the above if the EXE is started from the CD-ROM
#ifdef EXE_RUN_FROM_CDROM
#ifdef NUM_EXES_PRESENT >= 1
#define SRC_PATH_1_ON_CDROM "\\Software\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 2
#define SRC_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 3
#define SRC_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 4
#define SRC_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash
#endif
#endif
#define WORKING_DIR_ON_CDROM 1
// Define the above if the working directory should be on the CD-ROM
// otherwise the working directory will be the installation target directory
#ifdef WORKING_DIR_ON_CDROM
#ifdef NUM_EXES_PRESENT >= 1
#define WORK_PATH_1_ON_CDROM "\\Software\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 2
#define WORK_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 3
#define WORK_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
#endif
#ifdef NUM_EXES_PRESENT >= 4
#define WORK_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash